package oa.hleast.xswl.pojo.form.place;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;

/**
 * @author 302
 * @description
 * @date 2021/3/20
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "CmsPlaceInfoForm")
public class CmsPlaceInfoForm {

    private Long id;
    @ApiModelProperty("场所分类名称")
    private String placeName;
    @NotNull
    @ApiModelProperty(value = "场所分类ID")
    private Long placeTypeId;
    @ApiModelProperty("内容分类id")
    private Long infoTypeId;
    @ApiModelProperty("营业/开放时间")
    private String businessTime;
    @ApiModelProperty("联系电话")
    private String phoneNumber;
    @ApiModelProperty("评级")
    private String infoLevel;
    @ApiModelProperty("主图")
    private String mainImagerUrl;
    @ApiModelProperty("相册")
    private String imagerList;
    @ApiModelProperty("音频地址 -用于VR展示")
    private String audioFile;
    @ApiModelProperty("视频地址 -用于VR展示")
    private String videoFile;
    @ApiModelProperty("简介")
    private String introduction;
    @ApiModelProperty("须知")
    private String notice;
    @ApiModelProperty("链接名称")
    private String linkName;
    @ApiModelProperty("链接地址")
    private String otherHttpUrl;
    @ApiModelProperty("是否显示（0：不显示，1：显示）")
    private Integer display;
    @ApiModelProperty("是否推荐（0：不推荐，1：推荐）")
    private Integer recommend;
    @ApiModelProperty("排序值")
    private Integer sort;
    @ApiModelProperty("是否关联门票")
    private Integer hasTicket;


    /**
     * 地址
     */
    @ApiModelProperty("地点")
    private String address;
    /**
     * 经度
     */
    @ApiModelProperty("经度")
    private BigDecimal longitude;
    /**
     * 纬度
     */
    @ApiModelProperty("纬度")
    private BigDecimal latitude;

    /**
     * H5网页链接
     */
    @ApiModelProperty(value = "H5网页链接 新增字段", notes = "新增字段")
    private String url;

    /**
     * 小程序AppID
     */
    @ApiModelProperty(value = "小程序AppID 新增字段", notes = "新增字段")
    private String appId;

    /**
     * 小程序路径
     */
    @ApiModelProperty(value = "小程序路径 新增字段", notes = "新增字段")
    private String path;

    @ApiModelProperty(value = "跳转路径 新增字段", example = "LOCAL MIN_APP H5")
    private String placeInfoUrlType;

    @ApiModelProperty(value = "附加属性")
    private List<CmsPlaceInfoAttrValueForm> attrForm;

    /**
     * 搜索词
     */
    private String keyWord;

    private Integer treasureHunt;

    private Integer arExplain;

    /**
     * AR寻宝线索图册
     */
        private String treasureHuntKeyImage;

    private String treasureHuntKey;

    private String arExplainKey;
}
